'use strict';

class Aa {
  constructor(name) {
    this.name=name;
  }
}

class Bb extends Aa{
  constructor(name) {
    super(name);
  }

  say(){
    return `hello ${this.name}`;
  }
}
console.log(new Bb('aa').say());

